
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>新增页面</title>
</head>
<body>
    <div>
        <span color="red"><%=request.getAttribute("msg")==null?"":request.getAttribute("msg")%></span>
    </div>
    <form action="addStudentServlet" method="post">
        <table>
            <tr>
                <td><label>id:</label></td>
                <td><input name="id" ></td>
            </tr>
            <tr>
                <td><label>姓名:</label></td>
                <td><input name="name"></td>
            </tr>
            <tr>
                <td>性别:</td>
                <td>
                    <label>男:</label>
                    <input name="sex" type="radio" checked="checked">
                    <label>女:</label>
                    <input name="sex" type="radio">
                </td>
            </tr>
            <tr>
                <td>出生日期:</td>
                <td>
                    <input type="date" name="birthday" format="yyyy-MM-dd" >
                </td>
            </tr>
            <tr>
                <td>邮箱:</td>
                <td>
                    <input name="email">
                </td>
            </tr>
            <tr>
            <tr>
                <td>备注:</td>
                <td><textarea name="remark" cols="20" rows="5"></textarea></td>
            </tr>
            </tr>

            <TR>
                <td></td>
                <td><input type="submit" value="确认" ></td>
            </TR>
        </table>
    </form>

</body>
</html>
